

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
  <head>
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>索引 &#8212; Python 3.6.6rc1 文档</title>
    <link rel="stylesheet" href="_static/pydoctheme.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <script type="text/javascript" src="_static/documentation_options.js"></script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <script type="text/javascript" src="_static/sidebar.js"></script>
    <link rel="search" type="application/opensearchdescription+xml"
          title="在 Python 3.6.6rc1 文档 中搜索"
          href="_static/opensearch.xml"/>
    <link rel="author" title="关于这些文档" href="about.html" />
    <link rel="index" title="索引" href="genindex.html" />
    <link rel="search" title="搜索" href="search.html" />
    <link rel="copyright" title="Copyright" href="copyright.html" />
    <link rel="shortcut icon" type="image/png" href="_static/py.png" />
    <link rel="canonical" href="https://docs.python.org/3/genindex-环.html" />
    
    <script type="text/javascript" src="_static/copybutton.js"></script>
    <script type="text/javascript" src="_static/switchers.js"></script>
    
    
 

  </head><body>  
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>导航</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">索引</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python 模块索引"
             >模块</a> |</li>
        <li><img src="_static/py.png" alt=""
                 style="vertical-align: middle; margin-top: -1px"/></li>
        <li><a href="https://www.python.org/">Python</a> &#187;</li>
        <li>
          <span class="language_switcher_placeholder">zh</span>
          <span class="version_switcher_placeholder">3.6.6rc1</span>
          <a href="index.html">Documentation </a> &#187;
        </li>

    <li class="right">
        

    <div class="inline-search" style="display: none" role="search">
        <form class="inline-search" action="search.html" method="get">
          <input placeholder="Quick search" type="text" name="q" />
          <input type="submit" value="Go" />
          <input type="hidden" name="check_keywords" value="yes" />
          <input type="hidden" name="area" value="default" />
        </form>
    </div>
    <script type="text/javascript">$('.inline-search').show(0);</script>
         |
    </li>

      </ul>
    </div>    

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            

<h1 id="index">索引 &ndash; 环</h1>

<table style="width: 100%" class="indextable"><tr>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li>
    环境变量

      <ul>
        <li><a href="library/urllib.request.html#index-4">&lt;protocol&gt;_proxy</a>
</li>
        <li><a href="whatsnew/2.6.html#index-5">APPDATA</a>
</li>
        <li><a href="library/ossaudiodev.html#index-0">AUDIODEV</a>
</li>
        <li><a href="library/webbrowser.html#index-0">BROWSER</a>, <a href="library/webbrowser.html#index-1">[1]</a>
</li>
        <li><a href="whatsnew/2.3.html#index-24">CC</a>
</li>
        <li><a href="install/index.html#index-10">CFLAGS</a>, <a href="install/index.html#index-9">[1]</a>, <a href="whatsnew/2.3.html#index-25">[2]</a>
</li>
        <li><a href="library/curses.html#index-4">COLS</a>, <a href="whatsnew/3.5.html#index-32">[1]</a>
</li>
        <li><a href="library/curses.html#index-6">COLUMNS</a>, <a href="library/curses.html#index-8">[1]</a>
</li>
        <li><a href="library/os.html#index-32">COMSPEC</a>, <a href="library/subprocess.html#index-2">[1]</a>
</li>
        <li><a href="whatsnew/2.3.html#index-26">CPP</a>
</li>
        <li><a href="whatsnew/2.3.html#index-28">CPPFLAGS</a>
</li>
        <li><a href="distutils/setupscript.html#index-0">DISTUTILS_DEBUG</a>
</li>
        <li><a href="distutils/apiref.html#index-1">HOME</a>, <a href="install/index.html#index-4">[1]</a>, <a href="install/index.html#index-5">[2]</a>, <a href="library/os.path.html#index-2">[3]</a>, <a href="library/os.path.html#index-3">[4]</a>
</li>
        <li><a href="install/index.html#index-7">HOMEDRIVE</a>, <a href="library/os.path.html#index-6">[1]</a>
</li>
        <li><a href="install/index.html#index-8">HOMEPATH</a>, <a href="library/os.path.html#index-5">[1]</a>
</li>
        <li><a href="library/idle.html#index-5">IDLESTARTUP</a>, <a href="whatsnew/changelog.html#index-0">[1]</a>
</li>
        <li><a href="library/webbrowser.html#index-2">KDEDIR</a>
</li>
        <li><a href="library/gettext.html#index-3">LANG</a>, <a href="library/gettext.html#index-7">[1]</a>, <a href="library/locale.html#index-1">[2]</a>, <a href="library/locale.html#index-2">[3]</a>, <a href="library/locale.html#index-3">[4]</a>
</li>
        <li><a href="library/gettext.html#index-0">LANGUAGE</a>, <a href="library/gettext.html#index-4">[1]</a>
</li>
        <li><a href="library/gettext.html#index-1">LC_ALL</a>, <a href="library/gettext.html#index-5">[1]</a>
</li>
        <li><a href="library/gettext.html#index-2">LC_MESSAGES</a>, <a href="library/gettext.html#index-6">[1]</a>
</li>
        <li><a href="whatsnew/2.7.html#index-12">LDCXXSHARED</a>
</li>
        <li><a href="whatsnew/2.3.html#index-27">LDFLAGS</a>
</li>
        <li><a href="library/curses.html#index-0">LINES</a>, <a href="library/curses.html#index-3">[1]</a>, <a href="library/curses.html#index-5">[2]</a>, <a href="library/curses.html#index-7">[3]</a>, <a href="whatsnew/3.5.html#index-31">[4]</a>
</li>
        <li><a href="library/getpass.html#index-2">LNAME</a>
</li>
        <li><a href="library/getpass.html#index-0">LOGNAME</a>, <a href="library/os.html#index-2">[1]</a>
</li>
        <li><a href="library/ossaudiodev.html#index-1">MIXERDEV</a>
</li>
        <li><a href="library/pydoc.html#index-1">PAGER</a>
</li>
        <li><a href="c-api/intro.html#index-21">PATH</a>, <a href="c-api/intro.html#index-22">[1]</a>, <a href="distutils/packageindex.html#index-1">[2]</a>, <a href="faq/library.html#index-0">[3]</a>, <a href="faq/library.html#index-1">[4]</a>, <a href="library/cgi.html#index-2">[5]</a>, <a href="library/cgi.html#index-5">[6]</a>, <a href="library/os.html#index-24">[7]</a>, <a href="library/os.html#index-25">[8]</a>, <a href="library/os.html#index-26">[9]</a>, <a href="library/os.html#index-29">[10]</a>, <a href="library/os.html#index-30">[11]</a>, <a href="library/os.html#index-31">[12]</a>, <a href="library/os.html#index-34">[13]</a>, <a href="library/webbrowser.html#index-3">[14]</a>, <a href="tutorial/appendix.html#index-0">[15]</a>, <a href="tutorial/modules.html#index-2">[16]</a>, <a href="using/cmdline.html#index-22">[17]</a>, <a href="using/unix.html#index-2">[18]</a>, <a href="using/windows.html#index-1">[19]</a>, <a href="using/windows.html#index-10">[20]</a>, <a href="using/windows.html#index-11">[21]</a>, <a href="using/windows.html#index-12">[22]</a>, <a href="using/windows.html#index-13">[23]</a>, <a href="using/windows.html#index-14">[24]</a>, <a href="using/windows.html#index-15">[25]</a>, <a href="using/windows.html#index-16">[26]</a>, <a href="using/windows.html#index-2">[27]</a>, <a href="using/windows.html#index-3">[28]</a>, <a href="using/windows.html#index-6">[29]</a>, <a href="using/windows.html#index-7">[30]</a>, <a href="using/windows.html#index-9">[31]</a>, <a href="whatsnew/3.4.html#index-55">[32]</a>, <a href="whatsnew/3.4.html#index-58">[33]</a>, <a href="whatsnew/3.4.html#index-59">[34]</a>
</li>
        <li><a href="using/windows.html#index-4">PATHEXT</a>, <a href="whatsnew/3.4.html#index-51">[1]</a>
</li>
        <li><a href="distutils/apiref.html#index-2">PLAT</a>
</li>
        <li><a href="library/getopt.html#index-0">POSIXLY_CORRECT</a>
</li>
        <li><a href="using/cmdline.html#index-3">PYTHON*</a>, <a href="using/cmdline.html#index-8">[1]</a>, <a href="whatsnew/3.4.html#index-50">[2]</a>
</li>
        <li><a href="library/asyncio-dev.html#index-0">PYTHONASYNCIODEBUG</a>, <a href="library/asyncio-eventloop.html#index-0">[1]</a>, <a href="using/cmdline.html#envvar-PYTHONASYNCIODEBUG">[2]</a>
</li>
        <li><a href="using/cmdline.html#envvar-PYTHONCASEOK">PYTHONCASEOK</a>, <a href="whatsnew/2.1.html#index-8">[1]</a>
</li>
        <li><a href="using/cmdline.html#envvar-PYTHONDEBUG">PYTHONDEBUG</a>, <a href="using/cmdline.html#index-2">[1]</a>
</li>
        <li><a href="library/pydoc.html#index-2">PYTHONDOCS</a>
</li>
        <li><a href="faq/programming.html#index-3">PYTHONDONTWRITEBYTECODE</a>, <a href="library/sys.html#index-1">[1]</a>, <a href="using/cmdline.html#envvar-PYTHONDONTWRITEBYTECODE">[2]</a>, <a href="using/cmdline.html#index-1">[3]</a>, <a href="whatsnew/2.6.html#index-20">[4]</a>, <a href="whatsnew/2.6.html#index-24">[5]</a>
</li>
        <li><a href="c-api/typeobj.html#index-0">PYTHONDUMPREFS</a>, <a href="using/cmdline.html#envvar-PYTHONDUMPREFS">[1]</a>
</li>
        <li><a href="using/cmdline.html#envvar-PYTHONEXECUTABLE">PYTHONEXECUTABLE</a>
</li>
        <li><a href="library/faulthandler.html#index-0">PYTHONFAULTHANDLER</a>, <a href="using/cmdline.html#envvar-PYTHONFAULTHANDLER">[1]</a>, <a href="whatsnew/3.3.html#index-23">[2]</a>
</li>
        <li><a href="reference/datamodel.html#index-76">PYTHONHASHSEED</a>, <a href="using/cmdline.html#envvar-PYTHONHASHSEED">[1]</a>, <a href="using/cmdline.html#index-14">[2]</a>, <a href="using/cmdline.html#index-27">[3]</a>, <a href="whatsnew/3.3.html#index-22">[4]</a>, <a href="whatsnew/3.3.html#index-33">[5]</a>
</li>
        <li><a href="c-api/init.html#index-15">PYTHONHOME</a>, <a href="c-api/init.html#index-16">[1]</a>, <a href="c-api/intro.html#index-23">[2]</a>, <a href="c-api/intro.html#index-26">[3]</a>, <a href="install/index.html#index-0">[4]</a>, <a href="install/index.html#index-1">[5]</a>, <a href="using/cmdline.html#envvar-PYTHONHOME">[6]</a>, <a href="using/cmdline.html#index-20">[7]</a>, <a href="using/cmdline.html#index-21">[8]</a>, <a href="using/cmdline.html#index-24">[9]</a>, <a href="using/cmdline.html#index-5">[10]</a>, <a href="using/windows.html#index-18">[11]</a>, <a href="using/windows.html#index-20">[12]</a>, <a href="using/windows.html#index-22">[13]</a>, <a href="whatsnew/3.6.html#index-2">[14]</a>
</li>
        <li><a href="using/cmdline.html#envvar-PYTHONINSPECT">PYTHONINSPECT</a>, <a href="using/cmdline.html#index-7">[1]</a>, <a href="whatsnew/2.3.html#index-29">[2]</a>
</li>
        <li><a href="c-api/init.html#index-2">PYTHONIOENCODING</a>, <a href="c-api/init.html#index-3">[1]</a>, <a href="library/sys.html#index-28">[2]</a>, <a href="using/cmdline.html#envvar-PYTHONIOENCODING">[3]</a>, <a href="whatsnew/2.6.html#index-21">[4]</a>, <a href="whatsnew/3.4.html#index-54">[5]</a>
</li>
        <li><a href="library/sys.html#index-26">PYTHONLEGACYWINDOWSFSENCODING</a>, <a href="using/cmdline.html#envvar-PYTHONLEGACYWINDOWSFSENCODING">[1]</a>, <a href="whatsnew/3.6.html#index-19">[2]</a>
</li>
        <li><a href="using/cmdline.html#envvar-PYTHONLEGACYWINDOWSSTDIO">PYTHONLEGACYWINDOWSSTDIO</a>, <a href="using/cmdline.html#index-28">[1]</a>, <a href="whatsnew/3.6.html#index-21">[2]</a>
</li>
        <li><a href="c-api/memory.html#index-1">PYTHONMALLOC</a>, <a href="c-api/memory.html#index-3">[1]</a>, <a href="using/cmdline.html#envvar-PYTHONMALLOC">[2]</a>, <a href="using/cmdline.html#index-31">[3]</a>, <a href="whatsnew/3.6.html#index-27">[4]</a>, <a href="whatsnew/3.6.html#index-38">[5]</a>, <a href="whatsnew/changelog.html#index-4">[6]</a>
</li>
        <li><a href="c-api/memory.html#index-2">PYTHONMALLOCSTATS</a>, <a href="using/cmdline.html#envvar-PYTHONMALLOCSTATS">[1]</a>, <a href="whatsnew/changelog.html#index-5">[2]</a>
</li>
        <li><a href="library/site.html#index-6">PYTHONNOUSERSITE</a>, <a href="library/site.html#index-9">[1]</a>, <a href="using/cmdline.html#envvar-PYTHONNOUSERSITE">[2]</a>, <a href="whatsnew/2.6.html#index-6">[3]</a>
</li>
        <li><a href="using/cmdline.html#envvar-PYTHONOPTIMIZE">PYTHONOPTIMIZE</a>, <a href="using/cmdline.html#index-10">[1]</a>
</li>
        <li><a href="c-api/intro.html#index-24">PYTHONPATH</a>, <a href="c-api/intro.html#index-27">[1]</a>, <a href="extending/building.html#index-0">[2]</a>, <a href="install/index.html#index-2">[3]</a>, <a href="install/index.html#index-3">[4]</a>, <a href="library/cgi.html#index-3">[5]</a>, <a href="library/sys.html#index-15">[6]</a>, <a href="library/sys.html#index-16">[7]</a>, <a href="tutorial/modules.html#index-1">[8]</a>, <a href="tutorial/modules.html#index-4">[9]</a>, <a href="tutorial/modules.html#index-5">[10]</a>, <a href="using/cmdline.html#envvar-PYTHONPATH">[11]</a>, <a href="using/cmdline.html#index-23">[12]</a>, <a href="using/cmdline.html#index-25">[13]</a>, <a href="using/cmdline.html#index-26">[14]</a>, <a href="using/cmdline.html#index-4">[15]</a>, <a href="using/mac.html#index-0">[16]</a>, <a href="using/windows.html#index-17">[17]</a>, <a href="using/windows.html#index-19">[18]</a>, <a href="using/windows.html#index-21">[19]</a>, <a href="using/windows.html#index-8">[20]</a>, <a href="whatsnew/3.4.html#index-56">[21]</a>, <a href="whatsnew/3.4.html#index-57">[22]</a>
</li>
        <li><a href="whatsnew/2.7.html#index-15">PYTHONSHOWALLOCCOUNT</a>
</li>
        <li><a href="whatsnew/2.7.html#index-14">PYTHONSHOWREFCOUNT</a>
</li>
        <li><a href="library/idle.html#index-6">PYTHONSTARTUP</a>, <a href="library/readline.html#index-0">[1]</a>, <a href="library/site.html#index-5">[2]</a>, <a href="library/sys.html#index-11">[3]</a>, <a href="tutorial/appendix.html#index-1">[4]</a>, <a href="using/cmdline.html#envvar-PYTHONSTARTUP">[5]</a>, <a href="using/cmdline.html#index-6">[6]</a>, <a href="whatsnew/3.4.html#index-40">[7]</a>, <a href="whatsnew/3.4.html#index-41">[8]</a>, <a href="whatsnew/changelog.html#index-1">[9]</a>
</li>
        <li><a href="using/cmdline.html#envvar-PYTHONTHREADDEBUG">PYTHONTHREADDEBUG</a>
</li>
        <li><a href="library/tracemalloc.html#index-0">PYTHONTRACEMALLOC</a>, <a href="library/tracemalloc.html#index-1">[1]</a>, <a href="library/tracemalloc.html#index-2">[2]</a>, <a href="using/cmdline.html#envvar-PYTHONTRACEMALLOC">[3]</a>
</li>
        <li><a href="using/cmdline.html#envvar-PYTHONUNBUFFERED">PYTHONUNBUFFERED</a>, <a href="using/cmdline.html#index-16">[1]</a>
</li>
        <li><a href="library/site.html#index-7">PYTHONUSERBASE</a>, <a href="library/site.html#index-8">[1]</a>, <a href="using/cmdline.html#envvar-PYTHONUSERBASE">[2]</a>, <a href="whatsnew/2.6.html#index-4">[3]</a>
</li>
        <li><a href="using/cmdline.html#envvar-PYTHONVERBOSE">PYTHONVERBOSE</a>, <a href="using/cmdline.html#index-17">[1]</a>
</li>
        <li><a href="using/cmdline.html#envvar-PYTHONWARNINGS">PYTHONWARNINGS</a>, <a href="using/cmdline.html#index-19">[1]</a>, <a href="whatsnew/2.7.html#index-1">[2]</a>, <a href="whatsnew/2.7.html#index-8">[3]</a>, <a href="whatsnew/3.2.html#index-10">[4]</a>
</li>
        <li><a href="library/xml.dom.html#index-0">PYTHON_DOM</a>
</li>
        <li><a href="library/ssl.html#index-18">SSL_CERT_FILE</a>
</li>
        <li><a href="library/ssl.html#index-19">SSL_CERT_PATH</a>
</li>
        <li><a href="library/subprocess.html#index-3">SystemRoot</a>
</li>
        <li><a href="faq/gui.html#index-0">TCL_LIBRARY</a>
</li>
        <li><a href="library/tempfile.html#index-2">TEMP</a>
</li>
        <li><a href="library/curses.html#index-1">TERM</a>, <a href="library/curses.html#index-2">[1]</a>
</li>
        <li><a href="library/tkinter.tix.html#index-1">TIX_LIBRARY</a>
</li>
        <li><a href="faq/gui.html#index-1">TK_LIBRARY</a>
</li>
        <li><a href="library/tempfile.html#index-3">TMP</a>
</li>
        <li><a href="library/tempfile.html#index-1">TMPDIR</a>
</li>
        <li><a href="library/time.html#index-10">TZ</a>, <a href="library/time.html#index-11">[1]</a>, <a href="library/time.html#index-12">[2]</a>, <a href="library/time.html#index-13">[3]</a>, <a href="library/time.html#index-9">[4]</a>
</li>
        <li><a href="library/getpass.html#index-1">USER</a>
</li>
        <li><a href="library/getpass.html#index-3">USERNAME</a>, <a href="library/os.html#index-3">[1]</a>
</li>
        <li><a href="install/index.html#index-6">USERPROFILE</a>, <a href="library/os.path.html#index-4">[1]</a>
</li>
        <li><a href="whatsnew/2.7.html#index-9">USER_BASE</a>
</li>
        <li><a href="c-api/intro.html#index-1">exec_prefix</a>, <a href="c-api/intro.html#index-4">[1]</a>, <a href="using/unix.html#index-1">[2]</a>
</li>
        <li><a href="howto/urllib2.html#index-3">http_proxy</a>, <a href="library/urllib.request.html#index-0">[1]</a>, <a href="library/urllib.request.html#index-10">[2]</a>
</li>
        <li><a href="library/urllib.request.html#index-5">no_proxy</a>
</li>
        <li><a href="c-api/intro.html#index-0">prefix</a>, <a href="c-api/intro.html#index-2">[1]</a>, <a href="c-api/intro.html#index-3">[2]</a>, <a href="using/unix.html#index-0">[3]</a>
</li>
      </ul></li>
  </ul></td>
</tr></table>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
        </div>
      </div>
      <div class="clearer"></div>
    </div>  
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>导航</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >索引</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python 模块索引"
             >模块</a> |</li>
        <li><img src="_static/py.png" alt=""
                 style="vertical-align: middle; margin-top: -1px"/></li>
        <li><a href="https://www.python.org/">Python</a> &#187;</li>
        <li>
          <span class="language_switcher_placeholder">zh</span>
          <span class="version_switcher_placeholder">3.6.6rc1</span>
          <a href="index.html">Documentation </a> &#187;
        </li>

    <li class="right">
        

    <div class="inline-search" style="display: none" role="search">
        <form class="inline-search" action="search.html" method="get">
          <input placeholder="Quick search" type="text" name="q" />
          <input type="submit" value="Go" />
          <input type="hidden" name="check_keywords" value="yes" />
          <input type="hidden" name="area" value="default" />
        </form>
    </div>
    <script type="text/javascript">$('.inline-search').show(0);</script>
         |
    </li>

      </ul>
    </div>  
    <div class="footer">
    &copy; <a href="copyright.html">Copyright</a> 2001-2018, Python Software Foundation.
    <br />
    The Python Software Foundation is a non-profit corporation.
    <a href="https://www.python.org/psf/donations/">Please donate.</a>
    <br />
    Last updated on 6月 24, 2018.
    <a href="bugs.html">Found a bug</a>?
    <br />
    Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.7.2.
    </div>

  </body>
</html>